/*
>>>------ Copyright (c) 2012 zformular ------>
|                                            |
|            Author: zformular               |
|        E-mail: zformular@163.com           |
|             Date: 2017.03.31               |
|                                            |
╰============================================╯

ClientProperties
*/

package com.eshanren.config;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public final class FileProperties {

    private FileProperties() {
    }

    static {
        Properties properties = new Properties();
        try {
            InputStream inputStream = FileProperties.class.getClassLoader().getResourceAsStream("file.properties");
            properties.load(inputStream);
            path = properties.getProperty("path");
            geth = properties.getProperty("geth");
            ipc = properties.getProperty("ipc");
        } catch (IOException e) {
        }
    }

    private static String path;
    private static String geth;
    private static String ipc;

    public static String getPath() {
        return path;
    }

    public static String getGeth() {
        return geth;
    }

    public static String getIpc() {
        return ipc;
    }
}
